window.appModule.config(["$stateProvider", function($stateProvider){
    $stateProvider
        .state('questionList',{
            params:{robotId:':robotId'},
            url: '/questionList',
            templateUrl: 'question/questionList'
        })

        .state('questionAdd',{
            params:{robotId:':robotId'},
            url: '/questionAdd',
            templateUrl: 'question/questionAdd'
        })

        .state('questionEdit',{
            params:{robotId:':robotId' , questionId:':questionId'},
            url: '/questionEdit',
            templateUrl: 'question/questionEdit'
        })
}]);

